home *** CD-ROM | disk | FTP | other *** search
- Path: risky.ecs.umass.edu!usenet
- From: jvinson@cheux.ecs.umass.edu (Jack Vinson)
- Newsgroups: comp.lang.c
- Subject: Memory problems when LOTS of variables
- Date: 01 Feb 1996 12:11:13 -0500
- Organization: University of Massachusetts
- Message-ID: <woka27ug26.fsf@cheux.ecs.umass.edu>
- NNTP-Posting-Host: cheux.ecs.umass.edu
- X-Newsreader: September Gnus v0.32/Emacs 19.30
-
-
- I am working with a large body of C code, porting from a Unix system to
- Windows NT (MSVC 2.0). The problem I am seeing is that allocation of
- certain variables corrupts previously allocated variables.
-
- In the debugger, I watch the allocation and check out the variables. It
- appears that a handful of the pointer variables are being set to odd
- values. Before allocation, I get a message that "the expression cannot be
- evaluated" even though with most pointer variables I can at least evaluate
- them before allocation (they evaluate to garbage, of course).
-
- I am wondering if I am somehow running out of space on this machine and
- that the variables are being dropped somehow.
-
- If anyone has had similar problems, or can suggest where I should look for
- the source of the problem, please let me know. This really has me
- stumped.
-
- Thanks,
-
- --
- Jack Vinson The Purple Puddle Eater and Captain Jack
- jvinson@cheux.ecs.umass.edu <http://www.cis.upenn.edu/~vinson/home.html>
- Sunderland, MA
- "Skin ain't got no tailored pockets." - Eat _Sell_Me_a_God_
-